﻿using SqlSugar;

namespace SIMS.SqlSugarWebApi.Models
{
    public class Course
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(Length = 30)]
        public string Name { get; set; }

        [SugarColumn(Length = 30)]
        public string Teacher { get; set; }

        public DateTime CreateTime { get; set; }

        public int CreateUser { get; set; }

        public DateTime LastEditTime { get; set; }

        public int LastEditUser { get; set; }
    }
}
